package com.ansuenjob.model;

/**
 * BstPersonWork entity. @author MyEclipse Persistence Tools
 */

public class BstPersonWork implements java.io.Serializable {

	// Fields

	private Integer mid;
	private Integer perid;
	private String username;
	private Integer resid;
	private Short beginYear;
	private Short beginMonth;
	private Short endYear;
	private Short endMonth;
	private String companyName;
	private Integer companyTrade;
	private Short companyProperty;
	private Short companyEmployee;
	private String workPlace;
	private String department;
	private String jobName;
	private String jobDesc;
	private String leaveReason;
	private Short lang;

	// Constructors

	/** default constructor */
	public BstPersonWork() {
	}

	/** minimal constructor */
	public BstPersonWork(Integer perid, String username, Integer resid) {
		this.perid = perid;
		this.username = username;
		this.resid = resid;
	}

	/** full constructor */
	public BstPersonWork(Integer perid, String username, Integer resid,
			Short beginYear, Short beginMonth, Short endYear, Short endMonth,
			String companyName, Integer companyTrade, Short companyProperty,
			Short companyEmployee, String workPlace, String department,
			String jobName, String jobDesc, String leaveReason, Short lang) {
		this.perid = perid;
		this.username = username;
		this.resid = resid;
		this.beginYear = beginYear;
		this.beginMonth = beginMonth;
		this.endYear = endYear;
		this.endMonth = endMonth;
		this.companyName = companyName;
		this.companyTrade = companyTrade;
		this.companyProperty = companyProperty;
		this.companyEmployee = companyEmployee;
		this.workPlace = workPlace;
		this.department = department;
		this.jobName = jobName;
		this.jobDesc = jobDesc;
		this.leaveReason = leaveReason;
		this.lang = lang;
	}

	// Property accessors

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Integer getPerid() {
		return this.perid;
	}

	public void setPerid(Integer perid) {
		this.perid = perid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getResid() {
		return this.resid;
	}

	public void setResid(Integer resid) {
		this.resid = resid;
	}

	public Short getBeginYear() {
		return this.beginYear;
	}

	public void setBeginYear(Short beginYear) {
		this.beginYear = beginYear;
	}

	public Short getBeginMonth() {
		return this.beginMonth;
	}

	public void setBeginMonth(Short beginMonth) {
		this.beginMonth = beginMonth;
	}

	public Short getEndYear() {
		return this.endYear;
	}

	public void setEndYear(Short endYear) {
		this.endYear = endYear;
	}

	public Short getEndMonth() {
		return this.endMonth;
	}

	public void setEndMonth(Short endMonth) {
		this.endMonth = endMonth;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public Integer getCompanyTrade() {
		return this.companyTrade;
	}

	public void setCompanyTrade(Integer companyTrade) {
		this.companyTrade = companyTrade;
	}

	public Short getCompanyProperty() {
		return this.companyProperty;
	}

	public void setCompanyProperty(Short companyProperty) {
		this.companyProperty = companyProperty;
	}

	public Short getCompanyEmployee() {
		return this.companyEmployee;
	}

	public void setCompanyEmployee(Short companyEmployee) {
		this.companyEmployee = companyEmployee;
	}

	public String getWorkPlace() {
		return this.workPlace;
	}

	public void setWorkPlace(String workPlace) {
		this.workPlace = workPlace;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getJobName() {
		return this.jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobDesc() {
		return this.jobDesc;
	}

	public void setJobDesc(String jobDesc) {
		this.jobDesc = jobDesc;
	}

	public String getLeaveReason() {
		return this.leaveReason;
	}

	public void setLeaveReason(String leaveReason) {
		this.leaveReason = leaveReason;
	}

	public Short getLang() {
		return this.lang;
	}

	public void setLang(Short lang) {
		this.lang = lang;
	}

}